﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace WeChatGZHTextExtractor.WxModels
{
    public class WxMessageExtModel
    {
        //"author": "庄春宇",
        //"content": "",
        //"content_url": "/s?timestamp=1523362575&amp;src=3&amp;ver=1&amp;signature=6IzA4CFhT2fGa8mHAT97FI2vBpoN902vmNQlOSSOtsCaaSD6oO-CEd1enTIT64xLHgORl6sjMfBfz*CA31Y3pppJvzVEVRmN4xte5uFm4Jqk0KIUQIoYqHFWjGgXS8QOpM3MAda-XSFJqL1E0xzoEq34ejRo36YHb6I5JN0NjaU=",
        //"copyright_stat": 100,
        //"cover": "http://mmbiz.qpic.cn/mmbiz_jpg/p0wA3XPiaxZDV5VOFTaDasblndfXh50aWiaODBZBOPRcXkNdCjSmon3yhOpeRTiaqG78q7WyibKuNHGpk1cZJ0TZZg/0?wx_fmt=jpeg",
        //"del_flag": 1,
        //"digest": "消费者对家庭安防重视程度越来越高，市面上五花八门的安防产品也各有市场。除了常见的监控摄像头、红外报警器等产品",
        //"fileid": 505867198,
        //"is_multi": 1,
        //"source_url": "",
        //"subtype": 9,
        //"title": "为什么每个家庭都需要智能猫眼？原来它是如此让人难以抗拒！"

        /// <summary>
        /// 作者
        /// </summary>
        [JsonProperty(PropertyName = "author")]
        public string Author { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        [JsonProperty(PropertyName = "content")]
        public string Content { get; set; }

        /// <summary>
        /// 内容Url
        /// </summary>
        [JsonProperty(PropertyName = "content_url")]
        public string ContentUrl { get; set; }

        /// <summary>
        /// 著佐权信息
        /// </summary>
        [JsonProperty(PropertyName = "copyright_stat")]
        public int CopyrightStat { get; set; }

        /// <summary>
        /// 缩略图
        /// </summary>
        [JsonProperty(PropertyName = "cover")]
        public string Cover { get; set; }

        /// <summary>
        /// 删除的标识
        /// </summary>
        [JsonProperty(PropertyName = "del_flag")]
        public int DelFlag { get; set; }

        /// <summary>
        /// 摘要
        /// </summary>
        [JsonProperty(PropertyName = "digest")]
        public string Digest { get; set; }

        /// <summary>
        /// 文件Id
        /// </summary>
        [JsonProperty(PropertyName = "fileid")]
        public long Fileid { get; set; }

        /// <summary>
        /// 是否是多内容
        /// </summary>
        [JsonProperty(PropertyName = "is_multi")]
        public int IsMulti { get; set; }

        /// <summary>
        /// 源地址
        /// </summary>
        [JsonProperty(PropertyName = "source_url")]
        public string SourceUrl { get; set; }

        /// <summary>
        /// 子类型
        /// </summary>
        [JsonProperty(PropertyName = "subtype")]
        public int Subtype { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        [JsonProperty(PropertyName = "title")]
        public string Title { get; set; }


        //multi_app_msg_item_list

        /// <summary>
        /// 同时推出的其他文章
        /// </summary>
        [JsonProperty(PropertyName = "multi_app_msg_item_list")]
        public List<WxMultiMessageItemModel> MultiMessageList { get; set; }
    }
}
